package com.example.pharmacypick.service;

import com.example.pharmacypick.dto.PatientDto;
import com.example.pharmacypick.pojo.Patient;
import com.example.pharmacypick.vo.PageInfo;

import java.util.List;

public interface PatientService {

//    查询病人信息
    PageInfo<Patient> findAllPatients(PatientDto patientDto);

    void addPatient(PatientDto patientDto);

    //改
    void updatePatient(PatientDto patientDto);

    //删
    void deletePatient(Long patientRecord);

    //病人登录
    Patient patientLogin(Patient patient);

    //根据病号查找病人
    Patient findPatientByPatientRecord(int patientRecord);
}
